Apparatus for automatically retrieving and installing device drivers across a network

ABSTRACT

One embodiment of the present invention provides a system that retrieves and installs device driver software across a network. The system includes a detection mechanism that detects the presence of a device in a computer system for which no current driver is installed in the computer system. The system also includes a reading mechanism that reads a locator specifying the location of a current driver for the device from a non-volatile memory on the device. The system additionally includes a driver retrieving mechanism that uses the locator to communicate with a remote host across the network in order to retrieve the current driver for the device from the remote host. The system also includes an installation mechanism that installs the current driver on the computer system.

RELATED APPLICATION

[0001] The subject matter of this application is related to the subject matter in a co-pending non-provisional application by the same inventor as the instant application and filed on the same day as the instant application entitled, “Method for Automatically Retrieving and Installing Device Drivers Across a Network,” having Ser. No. TO BE ASSIGNED, and filing date TO BE A (Attorney Docket No. M99-256001).

BACKGROUND

[0002] 1. Field of the Invention

[0003] The present invention relates to software drivers for devices within a computer system. More specifically, the present invention relates to a method and an apparatus for automatically retrieving and installing software device drivers across a network.

[0004] 2. Related Art

[0005] When a computer user installs a device, such as a video card, into a computer system, the installation process typically involves physically inserting the device into the computer system, and then installing appropriate driver software. This driver software is either retrieved from a driver library in the operating system or is alternatively loaded from a disk that is shipped with the device.

[0006] Providing driver software in either of these ways has disadvantages. First, the process of installing the driver software must be performed manually, typically by loading the driver software into the computer system from the disk, or by manually selecting the driver software from the driver library within the operating system. This manual installation process is time-consuming and it can present challenges for a novice computer user who is not familiar with the software installation process. In fact, the process of installing the driver software can take as long or longer than the process of physically installing the device into the computer system. Additionally, different versions of driver software may have to be provided for different operating systems and/or different computer systems. This often requires a manufacturer to ship a device with multiple versions of the driver software.

[0007] Another disadvantage is that driver software is typically out-dated by the time it is installed. The driver library in the operating system is the same age as the operating system. Hence, driver software from the driver library can potentially be many years old. Furthermore, if the device is new, a corresponding driver will not exist in the operating system's driver library.

[0008] Even driver software shipped with a device can be out-dated. This is because the device and associated driver software can potentially sit on a store shelf or in the distribution chain for many months before being purchased. Another problem is that shipping driver software along with a device incurs additional cost. The cost of shipping the driver software can account for a significant fraction of the total cost for certain low cost devices, such as internal modems or scanners.

[0009] What is needed is a system that automatically retrieves and installs a current device driver when a corresponding device is installed in a computer system.

SUMMARY

[0010] One embodiment of the present invention provides a system that retrieves and installs device driver software across a network. The system includes a detection mechanism that detects the presence of a device in a computer system for which no current driver is installed in the computer system. The system also includes a reading mechanism that reads a locator specifying the location of a current driver for the device from a non-volatile memory on the device. The system additionally includes a driver retrieving mechanism that uses the locator to communicate with a remote host across the network in order to retrieve the current driver for the device from the remote host. The system also includes an installation mechanism that installs the current driver on the computer system.

[0011] In one embodiment of the present invention, the locator includes a universal resource locator (URL) and the network includes the Internet. In another embodiment, the locator includes a telephone number and the network includes a telephone network.

[0012] In one embodiment of the present invention, the detection mechanism is configured to detect the presence of the device during a boot cycle following a power up of the computer system.

[0013] In one embodiment of the present invention, the installation mechanism is configured to install the current driver following a boot cycle of the computer system.

[0014] In one embodiment of the present invention, the installation mechanism is configured to reboot the computer system after installing the current driver.

[0015] One embodiment of the present invention includes a default driver for the device that is used by the computer system to operate the device in a restricted performance mode until the current driver is installed.

[0016] In one embodiment of the present invention, the detection mechanism is configured to detect the presence of an out-of-date driver for the device in the computer system. In this embodiment, the installation mechanism is configured to install an updated driver for the device. In a variation on this embodiment, the installation mechanism is configured to produce the updated driver by applying an update to the out-of-date driver.

[0017] In one embodiment of the present invention, the driver retrieving mechanism is configured to send an identifier for the computer system to the remote host so that the remote host can return a version of the current driver that is tailored to the computer system.

[0018] One embodiment of the present invention provides a device that facilitates retrieval and installation of a driver for the device across a network. The device includes a module with an interface that is configured so that it can be inserted into a computer system. A non-volatile memory is located within the module, and a locator is encoded in the non-volatile memory. This locator specifies a location on the network for a current driver for the device so that the computer system can use the locator to retrieve the current driver. This allows the current driver to be automatically installed in the computer system.

BRIEF DESCRIPTION OF THE FIGURES

[0019]FIG. 1 illustrates a computer system that is coupled to a server across a network in accordance with an embodiment of the present invention.

[0020]FIG. 2 is a flow chart illustrating the process of facilitating retrieval and installation of a driver for a device across a network in accordance with an embodiment of the present invention.

[0021]FIG. 3 is a flow chart illustrating the process of retrieving and installing a device driver across a network in accordance with an embodiment of the present invention.

DETAILED DESCRIPTION

[0022] The following description is presented to enable any person skilled in the art to make and use the invention, and is provided in the context of a particular application and its requirements. Various modifications to the disclosed embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other embodiments and applications without departing from the spirit and scope of the present invention. Thus, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features disclosed herein.

[0023] The data structures and code described in this detailed description are typically stored on a computer readable storage medium, which may be any device or medium that can store code and/or data for use by a computer system. This includes, but is not limited to, magnetic and optical storage devices such as disk drives, magnetic tape, CDs (compact discs) and DVDs (digital video discs), and computer instruction signals embodied in a transmission medium (with or without a carrier wave upon which the signals are modulated). For example, the transmission medium may include a communications network, such as the Internet.

[0024] Computer System

[0025]FIG. 1 illustrates a computer system 108 that is coupled to a server 112 across a network 111 in accordance with an embodiment of the present invention. In this embodiment, computer system 108 can include any type of computer system built around a general purpose or special purpose processor, including, but not limited to, a microprocessor, a mainframe computer, a digital signal processor, a personal organizer and a device controller. Computer system 108 includes operating system 109, which controls the operation of computer system 108.

[0026] In one embodiment of the present invention, operating system 109 includes default driver 113. Default driver 113 can act as a driver for device 102 in a restricted performance mode until a current driver 116 is installed.

[0027] Computer system 108 also includes boot code 110 that performs system initialization operations for computer system 108. In one embodiment of the present invention, boot code 110 is stored within a read only memory in computer system 108.

[0028] Server 112 can include any node on network 111 that includes computational and data storage resources, as well as a mechanism for servicing requests for the computational and/or data storage resources. More specifically, server 112 is coupled to storage device 114. Storage device 114 can include any type of device for storing code and/or data. This includes, but is not limited to, magnetic, optical and magneto-optical storage devices, as well as semiconductor-based storage devices, such as flash memory.

[0029] Storage device 114 contains current driver 116. In one embodiment of the present invention, current driver 116 includes code that comprises the most recently implemented driver for device 102. In another embodiment, current driver 116 includes the most recent update for a driver for device 102.

[0030] Network 111 generally refers to any type of wire or wireless link between computers, including, but not limited to, a telephone network, a local area network, a wide area network, or a combination of networks. In one embodiment of the present invention, network 111 includes the Internet. In another embodiment, network 111 includes multiple networks, including a local area network and the Internet.

[0031] Device 102 can include any type of component or peripheral device that can be plugged into computer system 108. This includes, but is not limited to, a video card (or graphics controller), a data acquisition card, a sound card, a scanner, a printer, a keyboard, a data storage device, an interface to a personal organizer, a keyboard, a sound card, a modem, a network interface controller (NIC) and a display device. In general, device 102 can include any type of device that has associated device driver software.

[0032] Device 102 contains an interface 103 as well as a non-volatile memory 104. Interface 103 can include any type of interface for coupling device 102 into computer system 108. Non-volatile memory 104 can include any type of non-volatile memory that can hold data when computer system 108 is powered down. This includes, but is not limited to, magnetic storage, flash memory, ROM, EPROM, EEPROM, and battery-backed-up RAM. Non-volatile memory 104 contains universal resource locator (URL) 106. URL 106 includes any type of locator or address that can be used to locate and retrieve current driver 116 across network 111.

[0033] In one embodiment of the present invention, URL 106 specifies an Internet location for current driver 116 and network 111 includes the Internet. This allows current driver 116 to be accessed by any user of the Internet.

[0034] In another embodiment, URL 106 includes a telephone number and network 111 includes a telephone network. In this embodiment, computer system 108 directly dials into server 112 to retrieve current driver 116.

[0035] During operation, the system illustrated in FIG. 1 operates generally as follows. Device 102 is inserted into computer system 108. Upon detecting device 102, computer system 108 reads URL 106 from non-volatile memory 104 within device 102 and uses URL 106 to retrieve current driver 116 from server 112 across network 111. Current driver 116 is then automatically installed within computer system 108, thereby allowing device 102 to operate properly.

[0036] Facilitating Retrieval and Installation of a Device Driver

[0037]FIG. 2 is a flow chart illustrating the process of facilitating retrieval and installation of a driver for device 102 across network 111 in accordance with embodiment of the present invention. The system starts by storing current driver 116 within storage device 114 that is coupled to server 112. The system also creates an URL 106 specifying the location of current driver 116 on network 111 (step 204). URL 106 is then stored in non-volatile memory 104 within device 102 (step 206). Next, server 112 makes current driver 116 accessible at a location specified by URL 106 on network 111 (step 208). This allows current driver 116 to be retrieved by a requester across network 111.

[0038] Process of Retrieving and Installing a Device Driver

[0039]FIG. 3 is a flow chart illustrating the process of retrieving and installing current driver 116 across network 111 in accordance with an embodiment of the present invention. In this embodiment, the system starts by detecting the presence of device 102 within computer system 108 (step 302). In one embodiment of the present, this detection can take place during a system boot operation after the system is powered on. Next, the system determines whether a current driver is installed for device 102 (step 304). In one embodiment of the present invention, this entails determining if any driver is installed for device 102. In another embodiment, this entails determining if a driver that is presently installed for device 102 is out-of-date, for example by checking an expiration date for the driver. If current driver 116 is already installed in the computer system, the system proceeds to the end of the process.

[0040] Otherwise, current driver 116 must be installed. In one embodiment of the present invention, default driver 113 is used until current driver 116 can be installed (step 306). This allows computer system 108 to function in a restricted performance mode until current driver 116 is installed. Note that if device 102 is a device that must be used during the retrieval process, such as a network interface controller, it may not be possible to perform the retrieval without default driver 113. Other devices, such as a sound card, are not necessary for the retrieval process. For these devices, it is possible to perform the retrieval process without default driver 113.

[0041] The system next retrieves current driver 116 by reading URL 106 from non-volatile memory 104 within device 102 (step 308). URL 106 is used to initiate communication with a remote host (server 112) across network 111 (step 310). Next, the system retrieves current driver 116 from server 112 across network 111 (step 312). In one embodiment of the present invention, retrieving current driver 116 entails sending an identifier for computer system 108 to server 112 so that the server 112 can return a version of current driver 116 that is tailored to computer system 108.

[0042] Current driver 116 is then installed on computer system 108 (step 314). In one embodiment of the present invention this installation process involves installing a new current driver 116 within computer system 108. In another embodiment, current driver 116 is in the form of an update, and the installation process entails applying the update to an old version of the driver to produce an updated driver, and then installing the updated driver. Next, computer system 108 is rebooted if necessary (step 316).

[0043] In one embodiment of the present invention, the entire process outlined above takes place during a system boot operation following a power on operation for the computer system. In this embodiment, the process is controlled by boot code 110 stored in a system BIOS in read-only memory (ROM) within computer system 108. In this embodiment, the step of detecting the presence of the device (step 302) takes place as part of the normal power on self test (POST) process within boot code 110. In this embodiment, the other steps 304-316 take place at the end of the system boot operation, after the POST process is complete.

[0044] In another embodiment of the present invention, the entire process outlined above takes place after the boot process is complete. In this embodiment, the process is controlled by operating system 109, which performs steps 302-316 as outlined above.

[0045] The foregoing descriptions of embodiments of the invention have been presented for purposes of illustration and description only. They are not intended to be exhaustive or to limit the invention to the forms disclosed. Accordingly, many modifications and variations will be apparent to practitioners skilled in the art. Additionally, the above disclosure is not intended to limit the invention. The scope of the invention is defined by the appended claims. 

What is claimed is:
 1. An apparatus that retrieves and installs device driver software across a network, comprising: a detection mechanism that detects the presence of a device in a computer system for which no current driver is installed in the computer system; a reading mechanism that reads a locator specifying the location of a current driver for the device from a non-volatile memory on the device; a driver retrieving mechanism that, uses the locator to communicate with a remote host across the network, and retrieves the current driver for the device from the remote host across the network; and an installation mechanism that installs the current driver for the device on the computer system.
 2. The apparatus of claim 1, wherein the locator includes a universal resource locator (URL).
 3. The apparatus of claim 1, wherein the network includes the Internet.
 4. The apparatus of claim 1, wherein the locator includes a telephone number and the network includes a telephone network.
 5. The apparatus of claim 1, wherein the installation mechanism is configured to reboot the computer system after installing the current driver.
 6. The apparatus of claim 1, wherein the detection mechanism is configured to detect the presence of the device during a boot cycle following a power up of the computer system.
 7. The apparatus of claim 1, wherein the installation mechanism is configured to install the current driver following a boot cycle of the computer system.
 8. The apparatus of claim 1, further comprising a default driver for the device that is used by the computer system to operate the device in a restricted performance mode until the current driver is installed.
 9. The apparatus of claim 1, wherein the detection mechanism is configured to detect the presence of an out-of-date driver for the device in the computer system; and wherein the installation mechanism is configured to install an updated driver for the device.
 10. The apparatus of claim 9, wherein the installation mechanism is configured to create the updated driver by applying an update to the out-of-date driver.
 11. The apparatus of claim 1, wherein the driver retrieving mechanism is configured to send an identifier for the computer system to the remote host so that the remote host can return a version of the current driver that is tailored to the computer system.
 12. A computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for retrieving and installing device driver software across a network, comprising: detecting the presence of a device in a computer system for which no current driver is installed in the computer system; reading a locator specifying the location of a current driver for the device from a non-volatile memory on the device; using the locator to communicate with a remote host across the network; retrieving the current driver for the device from the remote host across the network; and installing the current driver for the device on the computer system.
 13. The computer-readable storage medium of claim 12, wherein the locator includes a universal resource locator (URL).
 14. The computer-readable storage medium of claim 12, wherein the network includes the Internet.
 15. The computer-readable storage medium of claim 12, wherein detecting the presence of the device in the computer system for which no current driver is installed includes detecting the presence of an out-of-date driver for the device in the computer system; and wherein installing the current driver for the device includes installing an updated driver for the device.
 16. A computer system that retrieves and installs device driver software across a network, comprising: a processor; a memory; a detection mechanism that detects the presence of a device in the computer system for which no current driver is installed in the computer system; a reading mechanism that reads a locator specifying the location of a current driver for the device from a non-volatile memory on the device; a driver retrieving mechanism that, uses the locator to communicate with a remote host across the network, and retrieves the current driver for the device from the remote host across the network; and an installation mechanism that installs the current driver for the device on the computer system.
 17. An apparatus that retrieves and installs device driver software across a network, comprising: an operating system that controls operation of a computer system; a reading mechanism within the operating system that reads a locator specifying the location of a current driver for a device within the computer system from a non-volatile memory on the device; a driver retrieving mechanism within the operating system that, uses the locator to communicate with a remote host across the network, and retrieves the current driver for the device from the remote host across the network; and an installation mechanism within the operating system that installs the current driver for the device on the computer system.
 18. The apparatus of claim 17, further comprising a detection mechanism that detects the presence of the device in the computer system for which no current driver is installed in the computer system.
 19. The apparatus of claim 18, wherein the detection mechanism is configured to detect the presence of an out-of-date driver for the device in the computer system; and wherein the installation mechanism is configured to install an updated driver for the device.
 20. The apparatus of claim 17, wherein the locator includes a universal resource locator (URL).
 21. The apparatus of claim 17, wherein the network includes the Internet.
 22. A device that facilitates retrieval and installation of a driver for the device across a network, comprising: an interface for coupling the device to a computer system; a non-volatile memory; and a locator encoded in the non-volatile memory, the locator specifying a location on the network for a current driver for the device.
 23. The device of claim 22, wherein the locator is encoded in the non-volatile memory in a form that allows the computer system to read the locator from the non-volatile memory, which enables the computer system to use the locator to retrieve the current driver for the device thereby allowing the current driver to be installed in the computer system.
 24. The device of claim 22, wherein the locator includes a universal resource locator (URL).
 25. The device of claim 22, wherein the network includes the Internet. 